]> dgit.raspbian.org Git - gnome-shell.git/commit
st-scroll-view: Unconditionally allocate scrollbars
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 10 Aug 2013 20:09:33 +0000 (22:09 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sun, 11 Aug 2013 16:18:54 +0000 (18:18 +0200)
commitcba5bca842126e1961d9af26a0d5ed07fa01f8a7
tree9580a139f6f7a4f2b86d40a5f178b1a805ecdda1
parente99351d4dbc87fce29fa0d0f77b226c81f7afa11
st-scroll-view: Unconditionally allocate scrollbars

Commit cfecd063c9ca3d18cd changed the allocation logic to not allocate
scrollbars when the *_visible booleans are false. This breaks the
fade effect as well as the NEVER policy. We do not paint scrollbars
when they are not supposed to be visible, so not allocating them
and thus leaving them in a "needs allocation" state just causes problems.

I am not convinced that it solved any problem to begin with (we don't paint
them anyway).

As the previous condition has basically always been true, just do it
unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=705664
src/st/st-scroll-view.c